﻿<UserControl x:Class="CPPEI.Coolzon.Theme.Default.MainViewControl.SubSeneButton"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="45" d:DesignWidth="45">
    <Grid x:Name="spLayout">
        <Grid.Resources>
            <Style TargetType="Image" x:Key="NumberImageBase">
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="VerticalAlignment" Value="Center"/>
                <Setter Property="Width" Value="45" />
                <Setter Property="Height" Value="45" />
                <Setter Property="Cursor" Value="Hand" />
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Default;component/Images/number.png" />
                <Style.Triggers>
                    <Trigger Property="IsMouseOver" Value="true">
                        <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Default;component/Images/numbera.png"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <Style TargetType="Image" x:Key="Press" BasedOn="{StaticResource NumberImageBase}">
                <Setter Property="Source" Value="/CPPEI.Coolzon.Theme.Default;component/Images/numbera.png"/>
            </Style>
        </Grid.Resources>
        <Image x:Name="btnImage" Grid.Column="0" Style="{StaticResource NumberImageBase}"></Image>
        <TextBlock Style="{x:Null}" x:Name="tbNum" Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"  Text="1"  />
    </Grid>
</UserControl>
